﻿namespace Md.Api.Model.Util.Sms.Request;
/// <summary>
/// 阿里云发送短信请求实体
/// </summary>
public class RequestAliSendSmsModel : RequestBaseModel
{
    /// <summary>
    /// 手机号
    /// </summary>
    public string? PhoneNumber { get; set; }
    /// <summary>
    /// 模版CODE
    /// </summary>
    public string? TemplateCode { get; set; }
    /// <summary>
    /// 模版参数
    /// </summary>
    public List<RequestAliSendSmsTemplateParamModel>? TemplateParamList { get; set; }
}

/// <summary>
/// 短信模板变量对应的实际值
/// </summary>
public class RequestAliSendSmsTemplateParamModel
{
    /// <summary>
    /// 变量名称
    /// </summary>
    public string key { get; set; } = string.Empty;
    /// <summary>
    /// 变量值
    /// </summary>
    public string value { get; set; } = string.Empty;
}

